package router

import (
	"github.com/gin-gonic/gin"
	"weibo-sys/handlers"
)

func Init() *gin.Engine {

	r := gin.Default()
	r.GET("articleList", handlers.ArticleList)
	r.GET("articleDetail", handlers.ArticleDetail)
	return r
}
